package com.aitou.mrylive.util;

/**
 * @author Muyangmin
 * @since 1.0.0
 */
public class Const {
    public static final int VIEW_THROTTLE_TIME = 50;

    /**
     * 直播间心心防抖动时间。
     * 1s <= 50次点击。
     */
    public static final int LIVE_ROOM_HEART_THROTTLE = 200;

    /**
     * WS服务器地址。
     */
//    139.129.19.190美丽播
//    public static final String WS_HOST_FOR_PING = "114.55.150.132";
    public static final String WS_HOST_FOR_PING = "114.55.150.132";
//    public static final String WS_HOST_FOR_PING = "chatroom.cxtv.kaduoxq.com";

    /**
     * Web Socket 服务器地址。
     */
    public static final String SOCKET_URL = "ws://" + WS_HOST_FOR_PING + ":7272";

    /**
     * 主站域名。
     */
    private static final String MAIN_HOST_DEV = "192.168.2.104:80";

    public static final String MAIN_HOST_TEST = "www.51mry.cn";//www.51mry.cn  demo.meilibo.net

    public static final String PLAYER_BASE_URL = "rtmp://daniulive.com:1935/hls/stream";
    public static final String PUBLISH_BASE_URL = PLAYER_BASE_URL;

    /**
     * API主机域名
     */
    public static final String MAIN_HOST_FOR_PING = MAIN_HOST_TEST;

    public static final String MAIN_HOST_URL = "http://" + MAIN_HOST_FOR_PING;

    public static final String WEB_BASE_URL = MAIN_HOST_URL + "/OpenAPI/v1/";

    public static final String LIVE_FINISH_BROADCAST_ACTION = "com.aitou.mrylive.ACTION_FINISH";
//    http://demo.meilibo.net/OpenAPI/v1/

    /**
     * 微信开放平台appId
     */
    public static final String WX_APPID = "wxd3a0862e8aa184c5";
    public static final String PAY_RESULT_STATUS_SUCCESS = "200";
    public static final String PAY_RESULT_STATUS_FAIL = "500";
    public static final String PAY_TYPE_WEIXIN = "1";

    public static final String IMAG_NEW_URL="http://www.51mry.cn";
}
